<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class RolesTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('roles')->delete();
        
        \DB::table('roles')->insert(array (
            0 => 
            array (
                'id' => 1,
                'name' => '超级管理员',
                'status' => 1,
                'sources' => NULL,
            ),
            1 => 
            array (
                'id' => 2,
                'name' => '运营',
                'status' => 1,
                'sources' => '[]',
            ),
            2 => 
            array (
                'id' => 3,
                'name' => '客服',
                'status' => 0,
                'sources' => '[]',
            ),
            3 => 
            array (
                'id' => 4,
                'name' => '客户端',
                'status' => 1,
                'sources' => '[]',
            ),
            4 => 
            array (
                'id' => 5,
                'name' => '财务',
                'status' => 1,
                'sources' => '[]',
            ),
            5 => 
            array (
                'id' => 6,
                'name' => '推广',
                'status' => 1,
                'sources' => '[]',
            ),
            6 => 
            array (
                'id' => 7,
                'name' => '数据分析',
                'status' => 1,
                'sources' => NULL,
            ),
            7 => 
            array (
                'id' => 8,
                'name' => '测试',
                'status' => 1,
                'sources' => NULL,
            ),
            8 => 
            array (
                'id' => 9,
                'name' => '豆豆',
                'status' => 1,
                'sources' => '[]',
            ),
            9 => 
            array (
                'id' => 10,
                'name' => 'ccx',
                'status' => 0,
                'sources' => '[]',
            ),
            10 => 
            array (
                'id' => 11,
                'name' => 'demo',
                'status' => 1,
                'sources' => '[]',
            ),
            11 => 
            array (
                'id' => 12,
                'name' => '老总',
                'status' => 1,
                'sources' => '[]',
            ),
        ));
        
        
    }
}